package com.csun.cmny.provider.model.vo.device;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-25 14:22
 * @Description: the class dmc device alert vo
 */
@Data
@ApiModel(value = "life房间报警信息")
public class DmcDeviceAlertLifeRoomVo  {

    private static final long serialVersionUID = -1149575048295289818L;




    private Long alertId;

    /**
     * 警报类型  0-紧急警报 1-范围警报 2-紧急按钮 3-人体感应 4-门禁警报 5-孝心手环 6-(日创床垫)从床上跌倒 7-(日创床垫)呼吸停止 8-(日创床垫)翻身
     */

    private Integer alertType;

    /*报警类型*/
    private String alertTypeString;

    /**
     * 创建时间
     */

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createdTime;

    /**
     * 最近操作人
     */

    private String lastOperator;

    /**
     * 确认时间
     */


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;


    /*是否已经处理*/
    private Integer isHandle;

    /*是否有报警录像*/
    private boolean isHaveVideos = false;

}
